﻿using Lidgren.Network;
using Model.LiveControl;

namespace Network.Messages.LiveControl.C2S
{
    public class C2STellServerClientDisconnectMessage : NovaMessage
    {

        public C2STellServerClientDisconnectMessage() : base((ushort)CustomMessageType.C2STellServerClientDisconnectMessage)
        {
        }

        public FormItemModel FormItemModel;
        public override void WritePayload(NetOutgoingMessage message)
        {
            base.WritePayload(message);
            FormItemModel.WritePayload(message);
        }

        public override void ReadPayload(NetIncomingMessage message)
        {
            base.ReadPayload(message);
            FormItemModel.ReadPayload(message);
        }
    }
}
